import axios from '../axios'
function getList(query){
    return axios.get('/tuangou',{params:query})
}
function getDel(id){
    return axios.delete('/tuangoudel/'+id)
}
function getDetail(id){
    return axios.get('/xiangqing',{params:id})
}
function getAdd(query){
    return axios.get('/tuangouup',{params:query})
}
export default{
    getList,
    getDel,
    getDetail,
    getAdd
}